package o;

import android.content.Context;
import java.text.NumberFormat;
import o.dky.e;
public abstract class MinimumFactory {
    public static String double2String(double d) {
        return NumberFormat.getInstance().format(d);
    }

    public static String setMinimumFt(int i) {
        return setMinimumFt(i, 0);
    }

    public static String setMinimumFt(int i, int i2) {
        NumberFormat percentInstance = NumberFormat.getPercentInstance();
        double d = (double) (((float) i) / 100.0f);
        percentInstance.setMinimumFractionDigits(i2);
        return percentInstance.format(d);
    }

    public static boolean getBoolValue(Context context) {
        return context.getResources().getBoolean(e.ˏ);
    }
}
